package com.yrot.common.result;

import lombok.Getter;

/**
 * Created by 
 * 2017-01-21 14:23
 */
@Getter
public enum ResultEnum {
    SUCCESS(0000, "成功"),
    SPECIAL_ADD_FAIL(0001, "专题添加失败"),

    ;

    private Integer code;

    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
